Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only canonize ECDSA signatures in MSP:IsWellFormed #1498

Merged

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Jun 30, 2020

Currently, the MSP IsWellFormed function expects any signature to be
a valid ECDSA signature, however the certificate can be signed by
a non-ECDSA algorithm which will then yield a false negative.

This change set ensures the check only applies if the signature is ECDSA.

Change-Id: I0b14e3e9b87e860a3ca29cc233dc4810de1768ab
Signed-off-by: yacovm yacovm@il.ibm.com

Currently, the MSP IsWellFormed function expects any signature to be
a valid ECDSA signature, however the certificate can be signed by
a non-ECDSA algorithm which will then yield a false negative.

This change set ensures the check only applies if the signature is ECDSA.

Change-Id: I0b14e3e9b87e860a3ca29cc233dc4810de1768ab
Signed-off-by: yacovm <yacovm@il.ibm.com>
@yacovm yacovm requested a review from a team as a code owner June 30, 2020 09:43
@C0rWin C0rWin merged commit 529a931 into hyperledger:release-2.2 Jun 30, 2020
@yacovm yacovm deleted the IsWellFormedOnlyCanonizeECDSA-master branch February 9, 2021 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants